package com.javatom.notes.alibaba;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @description:
 * @author: 曾维录
 * @time: 2019/8/17 14:29
 */
public class CustomerBlockHandler {

    public static ResultMap testhandleException(BlockException exception) {
        return ResultMap.success("限流啦 CustomerBlockHandler",exception.getClass().getCanonicalName() + "\t 服务不可用");
    }
}
